3.228 \(\int (e x)^m \cot ^3(d (a+b \log (c x^n))) \, dx\)

Optimal. Leaf size=350 \[ -\frac{i (e x)^{m+1} \left (-2 b^2 d^2 n^2+m^2+2 m+1\right ) \text{Hypergeometric2F1}\left (1,-\frac{i (m+1)}{2 b d n},1-\frac{i (m+1)}{2 b d n},e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{b^2 d^2 e (m+1) n^2}+\frac{i e^{-2 i a d} (e x)^{m+1} \left (\frac{e^{4 i a d} (2 i b d n+m+1) \left (c x^n\right )^{2 i b d}}{n}+\frac{e^{2 i a d} (-2 i b d n+m+1)}{n}\right )}{2 b^2 d^2 e n \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}+\frac{(e x)^{m+1} \left (1+e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^2}{2 b d e n \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^2}+\frac{(e x)^{m+1} (-b d n+i (m+1)) (2 i b d n+m+1)}{2 b^2 d^2 e (m+1) n^2} \]

[Out]

((I*(1 + m) - b*d*n)*(1 + m + (2*I)*b*d*n)*(e*x)^(1 + m))/(2*b^2*d^2*e*(1 + m)*n^2) + ((e*x)^(1 + m)*(1 + E^((
2*I)*a*d)*(c*x^n)^((2*I)*b*d))^2)/(2*b*d*e*n*(1 - E^((2*I)*a*d)*(c*x^n)^((2*I)*b*d))^2) + ((I/2)*(e*x)^(1 + m)
*((E^((2*I)*a*d)*(1 + m - (2*I)*b*d*n))/n + (E^((4*I)*a*d)*(1 + m + (2*I)*b*d*n)*(c*x^n)^((2*I)*b*d))/n))/(b^2
*d^2*e*E^((2*I)*a*d)*n*(1 - E^((2*I)*a*d)*(c*x^n)^((2*I)*b*d))) - (I*(1 + 2*m + m^2 - 2*b^2*d^2*n^2)*(e*x)^(1
+ m)*Hypergeometric2F1[1, ((-I/2)*(1 + m))/(b*d*n), 1 - ((I/2)*(1 + m))/(b*d*n), E^((2*I)*a*d)*(c*x^n)^((2*I)*
b*d)])/(b^2*d^2*e*(1 + m)*n^2)

________________________________________________________________________________________

Rubi [F]  time = 0.0726727, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int (e x)^m \cot ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx \]

Verification is Not applicable to the result.

[In]

Int[(e*x)^m*Cot[d*(a + b*Log[c*x^n])]^3,x]

[Out]

Defer[Int][(e*x)^m*Cot[d*(a + b*Log[c*x^n])]^3, x]

Rubi steps

\begin{align*} \int (e x)^m \cot ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\int (e x)^m \cot ^3\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx\\ \end{align*}

Mathematica [A]  time = 17.0389, size = 639, normalized size = 1.83 \[ \frac{x^{-m} (e x)^m \left (2 b^2 d^2 n^2-m^2-2 m-1\right ) \csc \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right ) \left (\frac{x^{m+1} \sin (b d n \log (x)) \csc \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{m+1}-\frac{i \sin \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right ) \exp \left (-\frac{(2 m+1) \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )}{b n}\right ) \left (-(2 i b d n+m+1) \exp \left (\frac{2 a m+a+b (2 m+1) \left (\log \left (c x^n\right )-n \log (x)\right )+b (m+1) n \log (x)}{b n}\right ) \text{Hypergeometric2F1}\left (1,-\frac{i (m+1)}{2 b d n},1-\frac{i (m+1)}{2 b d n},e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right )-(m+1) \exp \left (\frac{a (2 i b d n+2 m+1)}{b n}+\frac{(2 i b d n+2 m+1) \left (\log \left (c x^n\right )-n \log (x)\right )}{n}+\log (x) (2 i b d n+m+1)\right ) \text{Hypergeometric2F1}\left (1,-\frac{i (2 i b d n+m+1)}{2 b d n},-\frac{i (4 i b d n+m+1)}{2 b d n},e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right )+i (2 i b d n+m+1) \cot \left (d \left (a+b \log \left (c x^n\right )\right )\right ) \exp \left (\frac{2 a m+a+b (2 m+1) \left (\log \left (c x^n\right )-n \log (x)\right )+b (m+1) n \log (x)}{b n}\right )\right )}{(m+1) (2 i b d n+m+1)}\right )}{2 b^2 d^2 n^2}+\frac{(m+1) x (e x)^m \sin (b d n \log (x)) \csc \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right ) \csc \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )+b d n \log (x)\right )}{2 b^2 d^2 n^2}-\frac{x (e x)^m \cot \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )}{m+1}-\frac{x (e x)^m \csc ^2\left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )+b d n \log (x)\right )}{2 b d n} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(e*x)^m*Cot[d*(a + b*Log[c*x^n])]^3,x]

[Out]

-((x*(e*x)^m*Cot[d*(a + b*(-(n*Log[x]) + Log[c*x^n]))])/(1 + m)) - (x*(e*x)^m*Csc[b*d*n*Log[x] + d*(a + b*(-(n
*Log[x]) + Log[c*x^n]))]^2)/(2*b*d*n) + ((1 + m)*x*(e*x)^m*Csc[d*(a + b*(-(n*Log[x]) + Log[c*x^n]))]*Csc[b*d*n
*Log[x] + d*(a + b*(-(n*Log[x]) + Log[c*x^n]))]*Sin[b*d*n*Log[x]])/(2*b^2*d^2*n^2) + ((-1 - 2*m - m^2 + 2*b^2*
d^2*n^2)*(e*x)^m*Csc[d*(a + b*(-(n*Log[x]) + Log[c*x^n]))]*((x^(1 + m)*Csc[d*(a + b*Log[c*x^n])]*Sin[b*d*n*Log
[x]])/(1 + m) - (I*(I*E^((a + 2*a*m + b*(1 + m)*n*Log[x] + b*(1 + 2*m)*(-(n*Log[x]) + Log[c*x^n]))/(b*n))*(1 +
 m + (2*I)*b*d*n)*Cot[d*(a + b*Log[c*x^n])] - E^((a + 2*a*m + b*(1 + m)*n*Log[x] + b*(1 + 2*m)*(-(n*Log[x]) +
Log[c*x^n]))/(b*n))*(1 + m + (2*I)*b*d*n)*Hypergeometric2F1[1, ((-I/2)*(1 + m))/(b*d*n), 1 - ((I/2)*(1 + m))/(
b*d*n), E^((2*I)*d*(a + b*Log[c*x^n]))] - E^((a*(1 + 2*m + (2*I)*b*d*n))/(b*n) + (1 + m + (2*I)*b*d*n)*Log[x]
+ ((1 + 2*m + (2*I)*b*d*n)*(-(n*Log[x]) + Log[c*x^n]))/n)*(1 + m)*Hypergeometric2F1[1, ((-I/2)*(1 + m + (2*I)*
b*d*n))/(b*d*n), ((-I/2)*(1 + m + (4*I)*b*d*n))/(b*d*n), E^((2*I)*d*(a + b*Log[c*x^n]))])*Sin[d*(a + b*(-(n*Lo
g[x]) + Log[c*x^n]))])/(E^(((1 + 2*m)*(a + b*(-(n*Log[x]) + Log[c*x^n])))/(b*n))*(1 + m)*(1 + m + (2*I)*b*d*n)
)))/(2*b^2*d^2*n^2*x^m)

________________________________________________________________________________________

Maple [F]  time = 2.033, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{m} \left ( \cot \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \right ) ^{3}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x)^m*cot(d*(a+b*ln(c*x^n)))^3,x)

[Out]

int((e*x)^m*cot(d*(a+b*ln(c*x^n)))^3,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x)^m*cot(d*(a+b*log(c*x^n)))^3,x, algorithm="maxima")

[Out]

(4*(b*d*cos(2*b*d*log(c))^2 + b*d*sin(2*b*d*log(c))^2)*e^m*n*x*x^m*cos(2*b*d*log(x^n) + 2*a*d)^2 + 4*(b*d*cos(
2*b*d*log(c))^2 + b*d*sin(2*b*d*log(c))^2)*e^m*n*x*x^m*sin(2*b*d*log(x^n) + 2*a*d)^2 - (2*b*d*e^m*n*cos(2*b*d*
log(c)) - e^m*m*sin(2*b*d*log(c)) - e^m*sin(2*b*d*log(c)))*x*x^m*cos(2*b*d*log(x^n) + 2*a*d) + (2*b*d*e^m*n*si
n(2*b*d*log(c)) + e^m*m*cos(2*b*d*log(c)) + e^m*cos(2*b*d*log(c)))*x*x^m*sin(2*b*d*log(x^n) + 2*a*d) + (((cos(
2*b*d*log(c))*sin(4*b*d*log(c)) - cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m - 2*(b*d*cos(4*b*d*log(c))*cos(2*
b*d*log(c)) + b*d*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n + (cos(2*b*d*log(c))*sin(4*b*d*log(c)) - cos(4*b*
d*log(c))*sin(2*b*d*log(c)))*e^m)*x*x^m*cos(2*b*d*log(x^n) + 2*a*d) - ((cos(4*b*d*log(c))*cos(2*b*d*log(c)) +
sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + 2*(b*d*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b*d*cos(4*b*d*log(c)
)*sin(2*b*d*log(c)))*e^m*n + (cos(4*b*d*log(c))*cos(2*b*d*log(c)) + sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*
x*x^m*sin(2*b*d*log(x^n) + 2*a*d) - (e^m*m*sin(4*b*d*log(c)) + e^m*sin(4*b*d*log(c)))*x*x^m)*cos(4*b*d*log(x^n
) + 4*a*d) - 2*(2*b^6*d^6*e^m*n^6 - (b^4*d^4*e^m*m^2 + 2*b^4*d^4*e^m*m + b^4*d^4*e^m)*n^4 + (2*(b^6*d^6*cos(4*
b*d*log(c))^2 + b^6*d^6*sin(4*b*d*log(c))^2)*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c
))^2)*e^m*m^2 + 2*(b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(4*b*d*log(c
))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m)*n^4)*cos(4*b*d*log(x^n) + 4*a*d)^2 + 4*(2*(b^6*d^6*cos(2*b*d*log(c))^
2 + b^6*d^6*sin(2*b*d*log(c))^2)*e^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m^
2 + 2*(b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d
^4*sin(2*b*d*log(c))^2)*e^m)*n^4)*cos(2*b*d*log(x^n) + 2*a*d)^2 + (2*(b^6*d^6*cos(4*b*d*log(c))^2 + b^6*d^6*si
n(4*b*d*log(c))^2)*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4
*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*l
og(c))^2)*e^m)*n^4)*sin(4*b*d*log(x^n) + 4*a*d)^2 + 4*(2*(b^6*d^6*cos(2*b*d*log(c))^2 + b^6*d^6*sin(2*b*d*log(
c))^2)*e^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*l
og(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^
m)*n^4)*sin(2*b*d*log(x^n) + 2*a*d)^2 + 2*(2*b^6*d^6*e^m*n^6*cos(4*b*d*log(c)) - (b^4*d^4*e^m*m^2*cos(4*b*d*lo
g(c)) + 2*b^4*d^4*e^m*m*cos(4*b*d*log(c)) + b^4*d^4*e^m*cos(4*b*d*log(c)))*n^4 - 2*(2*(b^6*d^6*cos(4*b*d*log(c
))*cos(2*b*d*log(c)) + b^6*d^6*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))*cos(
2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*
log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) +
b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*cos(2*b*d*log(x^n) + 2*a*d) - 2*(2*(b^6*d^6*cos(2*b*d*l
og(c))*sin(4*b*d*log(c)) - b^6*d^6*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))*
sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*log(c))*sin(4*
b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)
) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*sin(2*b*d*log(x^n) + 2*a*d))*cos(4*b*d*log(x^n) + 4
*a*d) - 4*(2*b^6*d^6*e^m*n^6*cos(2*b*d*log(c)) - (b^4*d^4*e^m*m^2*cos(2*b*d*log(c)) + 2*b^4*d^4*e^m*m*cos(2*b*
d*log(c)) + b^4*d^4*e^m*cos(2*b*d*log(c)))*n^4)*cos(2*b*d*log(x^n) + 2*a*d) - 2*(2*b^6*d^6*e^m*n^6*sin(4*b*d*l
og(c)) - (b^4*d^4*e^m*m^2*sin(4*b*d*log(c)) + 2*b^4*d^4*e^m*m*sin(4*b*d*log(c)) + b^4*d^4*e^m*sin(4*b*d*log(c)
))*n^4 - 2*(2*(b^6*d^6*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^6*d^6*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*
n^6 - ((b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2
*(b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*
cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*cos(2*b*d*log(x^n
) + 2*a*d) + 2*(2*(b^6*d^6*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^6*d^6*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*
e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2
 + 2*(b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*
d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*sin(2*b*d*log
(x^n) + 2*a*d))*sin(4*b*d*log(x^n) + 4*a*d) + 4*(2*b^6*d^6*e^m*n^6*sin(2*b*d*log(c)) - (b^4*d^4*e^m*m^2*sin(2*
b*d*log(c)) + 2*b^4*d^4*e^m*m*sin(2*b*d*log(c)) + b^4*d^4*e^m*sin(2*b*d*log(c)))*n^4)*sin(2*b*d*log(x^n) + 2*a
*d))*integrate(1/4*(x^m*cos(b*d*log(x^n) + a*d)*sin(b*d*log(c)) + x^m*cos(b*d*log(c))*sin(b*d*log(x^n) + a*d))
/(2*b^4*d^4*n^4*cos(b*d*log(c))*cos(b*d*log(x^n) + a*d) - 2*b^4*d^4*n^4*sin(b*d*log(c))*sin(b*d*log(x^n) + a*d
) + b^4*d^4*n^4 + (b^4*d^4*cos(b*d*log(c))^2 + b^4*d^4*sin(b*d*log(c))^2)*n^4*cos(b*d*log(x^n) + a*d)^2 + (b^4
*d^4*cos(b*d*log(c))^2 + b^4*d^4*sin(b*d*log(c))^2)*n^4*sin(b*d*log(x^n) + a*d)^2), x) + 2*(2*b^6*d^6*e^m*n^6
- (b^4*d^4*e^m*m^2 + 2*b^4*d^4*e^m*m + b^4*d^4*e^m)*n^4 + (2*(b^6*d^6*cos(4*b*d*log(c))^2 + b^6*d^6*sin(4*b*d*
log(c))^2)*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4*cos(4*b
*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2
)*e^m)*n^4)*cos(4*b*d*log(x^n) + 4*a*d)^2 + 4*(2*(b^6*d^6*cos(2*b*d*log(c))^2 + b^6*d^6*sin(2*b*d*log(c))^2)*e
^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*log(c))^2
 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m)*n^4)*
cos(2*b*d*log(x^n) + 2*a*d)^2 + (2*(b^6*d^6*cos(4*b*d*log(c))^2 + b^6*d^6*sin(4*b*d*log(c))^2)*e^m*n^6 - ((b^4
*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin
(4*b*d*log(c))^2)*e^m*m + (b^4*d^4*cos(4*b*d*log(c))^2 + b^4*d^4*sin(4*b*d*log(c))^2)*e^m)*n^4)*sin(4*b*d*log(
x^n) + 4*a*d)^2 + 4*(2*(b^6*d^6*cos(2*b*d*log(c))^2 + b^6*d^6*sin(2*b*d*log(c))^2)*e^m*n^6 - ((b^4*d^4*cos(2*b
*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c
))^2)*e^m*m + (b^4*d^4*cos(2*b*d*log(c))^2 + b^4*d^4*sin(2*b*d*log(c))^2)*e^m)*n^4)*sin(2*b*d*log(x^n) + 2*a*d
)^2 + 2*(2*b^6*d^6*e^m*n^6*cos(4*b*d*log(c)) - (b^4*d^4*e^m*m^2*cos(4*b*d*log(c)) + 2*b^4*d^4*e^m*m*cos(4*b*d*
log(c)) + b^4*d^4*e^m*cos(4*b*d*log(c)))*n^4 - 2*(2*(b^6*d^6*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^6*d^6*sin
(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*
log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c)
)*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*
d*log(c)))*e^m)*n^4)*cos(2*b*d*log(x^n) + 2*a*d) - 2*(2*(b^6*d^6*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^6*d^6
*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*
b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*lo
g(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(
2*b*d*log(c)))*e^m)*n^4)*sin(2*b*d*log(x^n) + 2*a*d))*cos(4*b*d*log(x^n) + 4*a*d) - 4*(2*b^6*d^6*e^m*n^6*cos(2
*b*d*log(c)) - (b^4*d^4*e^m*m^2*cos(2*b*d*log(c)) + 2*b^4*d^4*e^m*m*cos(2*b*d*log(c)) + b^4*d^4*e^m*cos(2*b*d*
log(c)))*n^4)*cos(2*b*d*log(x^n) + 2*a*d) - 2*(2*b^6*d^6*e^m*n^6*sin(4*b*d*log(c)) - (b^4*d^4*e^m*m^2*sin(4*b*
d*log(c)) + 2*b^4*d^4*e^m*m*sin(4*b*d*log(c)) + b^4*d^4*e^m*sin(4*b*d*log(c)))*n^4 - 2*(2*(b^6*d^6*cos(2*b*d*l
og(c))*sin(4*b*d*log(c)) - b^6*d^6*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(2*b*d*log(c))*
sin(4*b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(2*b*d*log(c))*sin(4*
b*d*log(c)) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(2*b*d*log(c))*sin(4*b*d*log(c)
) - b^4*d^4*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*cos(2*b*d*log(x^n) + 2*a*d) + 2*(2*(b^6*d^6*cos(4*b
*d*log(c))*cos(2*b*d*log(c)) + b^6*d^6*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n^6 - ((b^4*d^4*cos(4*b*d*log(
c))*cos(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m^2 + 2*(b^4*d^4*cos(4*b*d*log(c))*co
s(2*b*d*log(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m + (b^4*d^4*cos(4*b*d*log(c))*cos(2*b*d*lo
g(c)) + b^4*d^4*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*n^4)*sin(2*b*d*log(x^n) + 2*a*d))*sin(4*b*d*log(x^n)
 + 4*a*d) + 4*(2*b^6*d^6*e^m*n^6*sin(2*b*d*log(c)) - (b^4*d^4*e^m*m^2*sin(2*b*d*log(c)) + 2*b^4*d^4*e^m*m*sin(
2*b*d*log(c)) + b^4*d^4*e^m*sin(2*b*d*log(c)))*n^4)*sin(2*b*d*log(x^n) + 2*a*d))*integrate(-1/4*(x^m*cos(b*d*l
og(x^n) + a*d)*sin(b*d*log(c)) + x^m*cos(b*d*log(c))*sin(b*d*log(x^n) + a*d))/(2*b^4*d^4*n^4*cos(b*d*log(c))*c
os(b*d*log(x^n) + a*d) - 2*b^4*d^4*n^4*sin(b*d*log(c))*sin(b*d*log(x^n) + a*d) - b^4*d^4*n^4 - (b^4*d^4*cos(b*
d*log(c))^2 + b^4*d^4*sin(b*d*log(c))^2)*n^4*cos(b*d*log(x^n) + a*d)^2 - (b^4*d^4*cos(b*d*log(c))^2 + b^4*d^4*
sin(b*d*log(c))^2)*n^4*sin(b*d*log(x^n) + a*d)^2), x) + (((cos(4*b*d*log(c))*cos(2*b*d*log(c)) + sin(4*b*d*log
(c))*sin(2*b*d*log(c)))*e^m*m + 2*(b*d*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b*d*cos(4*b*d*log(c))*sin(2*b*d*l
og(c)))*e^m*n + (cos(4*b*d*log(c))*cos(2*b*d*log(c)) + sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*x*x^m*cos(2*b
*d*log(x^n) + 2*a*d) + ((cos(2*b*d*log(c))*sin(4*b*d*log(c)) - cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*m - 2*
(b*d*cos(4*b*d*log(c))*cos(2*b*d*log(c)) + b*d*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m*n + (cos(2*b*d*log(c))
*sin(4*b*d*log(c)) - cos(4*b*d*log(c))*sin(2*b*d*log(c)))*e^m)*x*x^m*sin(2*b*d*log(x^n) + 2*a*d) - (e^m*m*cos(
4*b*d*log(c)) + e^m*cos(4*b*d*log(c)))*x*x^m)*sin(4*b*d*log(x^n) + 4*a*d))/(4*b^2*d^2*n^2*cos(2*b*d*log(c))*co
s(2*b*d*log(x^n) + 2*a*d) - 4*b^2*d^2*n^2*sin(2*b*d*log(c))*sin(2*b*d*log(x^n) + 2*a*d) - b^2*d^2*n^2 - (b^2*d
^2*cos(4*b*d*log(c))^2 + b^2*d^2*sin(4*b*d*log(c))^2)*n^2*cos(4*b*d*log(x^n) + 4*a*d)^2 - 4*(b^2*d^2*cos(2*b*d
*log(c))^2 + b^2*d^2*sin(2*b*d*log(c))^2)*n^2*cos(2*b*d*log(x^n) + 2*a*d)^2 - (b^2*d^2*cos(4*b*d*log(c))^2 + b
^2*d^2*sin(4*b*d*log(c))^2)*n^2*sin(4*b*d*log(x^n) + 4*a*d)^2 - 4*(b^2*d^2*cos(2*b*d*log(c))^2 + b^2*d^2*sin(2
*b*d*log(c))^2)*n^2*sin(2*b*d*log(x^n) + 2*a*d)^2 - 2*(b^2*d^2*n^2*cos(4*b*d*log(c)) - 2*(b^2*d^2*cos(4*b*d*lo
g(c))*cos(2*b*d*log(c)) + b^2*d^2*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*n^2*cos(2*b*d*log(x^n) + 2*a*d) - 2*(b^
2*d^2*cos(2*b*d*log(c))*sin(4*b*d*log(c)) - b^2*d^2*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*n^2*sin(2*b*d*log(x^n
) + 2*a*d))*cos(4*b*d*log(x^n) + 4*a*d) + 2*(b^2*d^2*n^2*sin(4*b*d*log(c)) - 2*(b^2*d^2*cos(2*b*d*log(c))*sin(
4*b*d*log(c)) - b^2*d^2*cos(4*b*d*log(c))*sin(2*b*d*log(c)))*n^2*cos(2*b*d*log(x^n) + 2*a*d) + 2*(b^2*d^2*cos(
4*b*d*log(c))*cos(2*b*d*log(c)) + b^2*d^2*sin(4*b*d*log(c))*sin(2*b*d*log(c)))*n^2*sin(2*b*d*log(x^n) + 2*a*d)
)*sin(4*b*d*log(x^n) + 4*a*d))

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e x\right )^{m} \cot \left (b d \log \left (c x^{n}\right ) + a d\right )^{3}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x)^m*cot(d*(a+b*log(c*x^n)))^3,x, algorithm="fricas")

[Out]

integral((e*x)^m*cot(b*d*log(c*x^n) + a*d)^3, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x)**m*cot(d*(a+b*ln(c*x**n)))**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x)^m*cot(d*(a+b*log(c*x^n)))^3,x, algorithm="giac")

[Out]

Exception raised: TypeError